package cn.wit.test;
/**
 * 计算双精度以及打印循环60s
 * @author 16604
 *
 */
public class DemoFactorial {
	public static void main(String[] args) {
		int a = 6;
		int m = 0;
		int result = 1;
		if (a % 2 == 0) {
			m = 2;
		} else {
			m = 1;
		}
		for (int i = m; i <= 6; i = i + 2) {
			result *= i;
			System.out.print(i + " ");
		}
		System.out.println("");
		System.out.println(result);
		
		//打印循环60s
		for(int count =59;count>0;count--) {
			try {
				Thread.sleep(1000);
				System.out.println(count);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}

}
